<!DOCTYPE html>
<html lang="ch-cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>BEATIFUL SECRET</title>

    <link rel="stylesheet" th:href="@{/css/basic.css}">
    <link rel="stylesheet" th:href="@{/css/login.css}">
</head>
<body>

<div class="register">
    <form th:action="@{/register/save}" th:object="${U}" method="post">
        <br>
        <label >注册</label>
        <br>
        <span>用户名：</span>
        <input type="text" placeholder="请输入用户名" th:field="${U.userName}" name="userName">
        <br>
        <br>
        <span>密码：</span>&nbsp;&nbsp;&nbsp;
        <input type="password" placeholder="请输入密码" th:field="${U.userPassword}" name="password">
        <br>
        <br>
        <button type="submit">提交注册</button>
    </form>

    <!-- 注册成功或登录成功转跳到user.html -->
    <!-- 推出登录连接 -->

</div>

</body>
</html>